<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php echo $title_for_layout; ?></title>

		<!-- Bootstrap -->
		<link href="/theme/Default/css/bootstrap/bootstrap.min.css" rel="stylesheet">
		<link href="/theme/Default/css/bootstrap/bootstrap-theme.min.css" rel="stylesheet">
		
		 <!-- jquery-->
		 <script src="/theme/Default/js/jquery-2.1.1.min.js"></script>
		<!-- Css -->
		<link href="/theme/Default/css/style.css" rel="stylesheet">

		<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		  <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
		<![endif]-->
	</head>
	<body>
		<!-- BEGIN HEADER -->
		<?php echo $this->element('header'); ?>
		<!-- END HEADER -->

		<div id="container">
			<?php echo $this -> fetch('content'); ?>
		</div>
		<!-- END CONTAINER -->

		<!-- BEGIN FOOTER -->
		<?php echo $this->element('footer'); ?>
		<!-- END FOOTER -->

		<!-- BEGIN POPUP LOGIN -->
	    <?php echo $this->element('popup-login'); ?>
		<!-- END POPUP LOGIN -->
		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
		
		<!--js for default theme -->
		<script src="/theme/Default/js/default.js"></script>
		
		<!-- Include all compiled plugins (below), or include individual files as needed -->
		<script src="/theme/Default/js/bootstrap/bootstrap.min.js"></script>

		<script src="/theme/Default/js/style.js"></script>

		<!-- Script to Activate the Carousel -->
		<script>
			$('.carousel').carousel({
			    interval: 5000 //changes the speed
			})
		</script>
	</body>
</html>